package com.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Forever
 * @since 2024-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("housework_comment")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论ID
     */
    @TableId(value = "comment_id", type = IdType.ASSIGN_ID)
    private Long comment_id;

    /**
     * 父级评论ID
     */
    private Long parent_id;

    /**
     * 被评论对象ID
     */
    private Long commented_id;

    /**
     * 评论者ID
     */
    private Long remarker_id;

    /**
     * 评论内容
     */
    private String user_comment;

    /**
     * 点赞数
     */
    private Integer like_num;

    /**
     * 评论时间
     */
    private LocalDateTime create_time;


}
